<?php
include ('ModelConexion.php'); 

class Usuarios extends Conexion
{

	public $M_Cedula;
	public $mensajeL;

	
	
	public function login($Cedula)
	{	
		if($Cedula != '')
		{
			$objeto = new Conexion();			
			$consulta = $objeto->consulta("
				SELECT `Id_Admin`
				FROM `cobepe`.`tb_usuario`
				WHERE Id_Admin='$Cedula'
				");

				if($objeto->numero_filas($consulta) == 1)
				{
				   	
				else
				{
					header('Location:../View/V_VistaEstudiantes.php');
				}

		}
		else
		{
		//	header('Location:../View/ViewLogin.php');
		}

	}
}

?>